<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:clarity="http://clarity/facelets/debug"
    xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui">

  <h:head>  
    <title>ezComment</title>
  </h:head>
  
  <!-- The header for the login page. -->
  <h:body style="margin-top:0px;">
 <h:outputStylesheet library="css" name="styles.css" target="body"/>
 <ui:include src="header1.xhtml" />
  <div >
  <center>
<table border="0" cellpadding="0" cellspacing="0">

<tr height="380px" valign='top'><td width="36"> </td><td width="830">
	      <p:messages showDetail="true" />
	      <h2>Login</h2>
	    <h:form prependId="false"> 
        
    <h:panelGrid columns="2">
      User Name <h:inputText id="name" value="#{user.username}" required="true"
				requiredMessage="User Name is required"  size="20"/>
      Password <h:inputSecret id="password" value="#{user.password}" required="true"
				requiredMessage="Password is required" size="20"/>
      <h:commandButton value="Submit" action="#{profile.login}"/>
    </h:panelGrid>   
       
      </h:form>
  </td><td width="36"><div id="samplexxxx"></div> </td></tr></table>
  </center>
  </div>
  <ui:include src="footer.xhtml" />
 </h:body> 
 
 </html>